package com.ruoyi.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.util.PageQueryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Api(tags = "自助预订-订单查询DTO")
public class SelfServiceOrderQueryDTO extends PageQueryDTO {

    @ApiModelProperty(value = "会员信息（预订会员）")
    private String vipMessage;

    @ApiModelProperty(value = "订单编号")
    private String bookingNumber;

    @ApiModelProperty("'订单状态（1-待付款,2-支付成功,3-已取消,4-消费中,5-已完成）'")
    private Integer status;

    @ApiModelProperty(value = "订单类型 1-新购，2-续购")
    private Integer orderType;

    @ApiModelProperty("桌台")
    private String desk;

    @ApiModelProperty("桌台分类")
    private String tableClassification;

    @ApiModelProperty(value = "开始预订时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bookingStartTime;

    @ApiModelProperty(value = "结束预订时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bookingEndTime;

    @ApiModelProperty(value = "下单开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderStartTime;    // 下单开始时间

    @ApiModelProperty(value = "下单结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderEndTime;      // 下单结束时间


    @ApiModelProperty("退款开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundStartTime;

    @ApiModelProperty("退款结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundEndTime;

    @ApiModelProperty("门店id")
    private Long storeId;

}